home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / MacPNG Library 1.02 / pngMacSrc 1.02 / png.1 / ptot / makefile.dos < prev    next >
Encoding:
Makefile  |  1995-08-17  |  670 b   |  44 lines  |  [TEXT/CWIE]

  1. # Microsoft NMAKE file
  2. # For MSDOS, Microsoft C 8.00
  3.  
  4. LIBS = llibce
  5. LFLAGS = /NOD /STACK:8192 /ONERROR:NOEXE /CO
  6. CFLAGS = $(CFLAGS) /AL /Zi /W3 /D_X86_=1
  7.  
  8. CC=cl
  9. LINK=link
  10.  
  11. .c.obj:
  12.     $(CC) /c $(CFLAGS) $*.c
  13.  
  14. .obj.exe:
  15.     $(LINK) $(LFLAGS) $**, $*.exe, $*.map, $(LIBS);
  16. #
  17. #
  18.  
  19. all: ptot.exe
  20.  
  21. clean:
  22.     del *.exe
  23.     del *.obj
  24.     del *.bak
  25.     del *.map
  26.  
  27. ptot.exe: ptot.obj zchunks.obj tempfile.obj tiff.obj crc32.obj inflate.obj
  28.  
  29. mp.exe: mp.obj crc32.obj
  30.  
  31. mp.obj: mp.c ptot.h
  32.  
  33. ptot.obj: ptot.c ptot.h errors.h
  34.  
  35. zchunks.obj: zchunks.c ptot.h errors.h
  36.  
  37. tempfile.obj: tempfile.c ptot.h errors.h
  38.  
  39. tiff.obj: tiff.c ptot.h errors.h
  40.  
  41. crc32.obj: crc32.c
  42.  
  43. inflate.obj: inflate.c inflate.h ptot.h
  44.